Optimal. Leaf size=112 \[ \frac {2 (3693 x+2363)}{50531 \sqrt {3 x^2-x+2}}-\frac {4 \sqrt {3 x^2-x+2}}{2197 (2 x+1)}-\frac {2 \sqrt {3 x^2-x+2}}{169 (2 x+1)^2}-\frac {487 \tanh ^{-1}\left (\frac {9-8 x}{2 \sqrt {13} \sqrt {3 x^2-x+2}}\right )}{2197 \sqrt {13}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {1646, 1650, 806, 724, 206} \[ \frac {2 (3693 x+2363)}{50531 \sqrt {3 x^2-x+2}}-\frac {4 \sqrt {3 x^2-x+2}}{2197 (2 x+1)}-\frac {2 \sqrt {3 x^2-x+2}}{169 (2 x+1)^2}-\frac {487 \tanh ^{-1}\left (\frac {9-8 x}{2 \sqrt {13} \sqrt {3 x^2-x+2}}\right )}{2197 \sqrt {13}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 724
Rule 806
Rule 1646
Rule 1650
Rubi steps
\begin {align*} \int \frac {1+3 x+4 x^2}{(1+2 x)^3 \left (2-x+3 x^2\right )^{3/2}} \, dx &=\frac {2 (2363+3693 x)}{50531 \sqrt {2-x+3 x^2}}+\frac {2}{23} \int \frac {\frac {8349}{2197}+\frac {20838 x}{2197}+\frac {23828 x^2}{2197}}{(1+2 x)^3 \sqrt {2-x+3 x^2}} \, dx\\ &=\frac {2 (2363+3693 x)}{50531 \sqrt {2-x+3 x^2}}-\frac {2 \sqrt {2-x+3 x^2}}{169 (1+2 x)^2}-\frac {1}{299} \int \frac {-\frac {11615}{169}-\frac {22034 x}{169}}{(1+2 x)^2 \sqrt {2-x+3 x^2}} \, dx\\ &=\frac {2 (2363+3693 x)}{50531 \sqrt {2-x+3 x^2}}-\frac {2 \sqrt {2-x+3 x^2}}{169 (1+2 x)^2}-\frac {4 \sqrt {2-x+3 x^2}}{2197 (1+2 x)}+\frac {487 \int \frac {1}{(1+2 x) \sqrt {2-x+3 x^2}} \, dx}{2197}\\ &=\frac {2 (2363+3693 x)}{50531 \sqrt {2-x+3 x^2}}-\frac {2 \sqrt {2-x+3 x^2}}{169 (1+2 x)^2}-\frac {4 \sqrt {2-x+3 x^2}}{2197 (1+2 x)}-\frac {974 \operatorname {Subst}\left (\int \frac {1}{52-x^2} \, dx,x,\frac {9-8 x}{\sqrt {2-x+3 x^2}}\right )}{2197}\\ &=\frac {2 (2363+3693 x)}{50531 \sqrt {2-x+3 x^2}}-\frac {2 \sqrt {2-x+3 x^2}}{169 (1+2 x)^2}-\frac {4 \sqrt {2-x+3 x^2}}{2197 (1+2 x)}-\frac {487 \tanh ^{-1}\left (\frac {9-8 x}{2 \sqrt {13} \sqrt {2-x+3 x^2}}\right )}{2197 \sqrt {13}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 79, normalized size = 0.71 \[ \frac {2 \left (14496 x^3+23281 x^2+13306 x+1673\right )}{50531 (2 x+1)^2 \sqrt {3 x^2-x+2}}-\frac {487 \tanh ^{-1}\left (\frac {9-8 x}{2 \sqrt {13} \sqrt {3 x^2-x+2}}\right )}{2197 \sqrt {13}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 126, normalized size = 1.12 \[ \frac {11201 \, \sqrt {13} {\left (12 \, x^{4} + 8 \, x^{3} + 7 \, x^{2} + 7 \, x + 2\right )} \log \left (-\frac {4 \, \sqrt {13} \sqrt {3 \, x^{2} - x + 2} {\left (8 \, x - 9\right )} + 220 \, x^{2} - 196 \, x + 185}{4 \, x^{2} + 4 \, x + 1}\right ) + 52 \, {\left (14496 \, x^{3} + 23281 \, x^{2} + 13306 \, x + 1673\right )} \sqrt {3 \, x^{2} - x + 2}}{1313806 \, {\left (12 \, x^{4} + 8 \, x^{3} + 7 \, x^{2} + 7 \, x + 2\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.31, size = 223, normalized size = 1.99 \[ \frac {487}{28561} \, \sqrt {13} \log \left (-\frac {{\left | -4 \, \sqrt {3} x - 2 \, \sqrt {13} - 2 \, \sqrt {3} + 4 \, \sqrt {3 \, x^{2} - x + 2} \right |}}{2 \, {\left (2 \, \sqrt {3} x - \sqrt {13} + \sqrt {3} - 2 \, \sqrt {3 \, x^{2} - x + 2}\right )}}\right ) + \frac {2 \, {\left (3693 \, x + 2363\right )}}{50531 \, \sqrt {3 \, x^{2} - x + 2}} + \frac {2 \, {\left (62 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} - x + 2}\right )}^{3} - 37 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} - x + 2}\right )}^{2} + 263 \, \sqrt {3} x - 71 \, \sqrt {3} - 263 \, \sqrt {3 \, x^{2} - x + 2}\right )}}{2197 \, {\left (2 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} - x + 2}\right )}^{2} + 2 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} - x + 2}\right )} - 5\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 111, normalized size = 0.99 \[ -\frac {487 \sqrt {13}\, \arctanh \left (\frac {2 \left (-4 x +\frac {9}{2}\right ) \sqrt {13}}{13 \sqrt {-16 x +12 \left (x +\frac {1}{2}\right )^{2}+5}}\right )}{28561}+\frac {487}{4394 \sqrt {-4 x +3 \left (x +\frac {1}{2}\right )^{2}+\frac {5}{4}}}+\frac {\frac {7248 x}{50531}-\frac {1208}{50531}}{\sqrt {-4 x +3 \left (x +\frac {1}{2}\right )^{2}+\frac {5}{4}}}+\frac {3}{338 \left (x +\frac {1}{2}\right ) \sqrt {-4 x +3 \left (x +\frac {1}{2}\right )^{2}+\frac {5}{4}}}-\frac {1}{104 \left (x +\frac {1}{2}\right )^{2} \sqrt {-4 x +3 \left (x +\frac {1}{2}\right )^{2}+\frac {5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.97, size = 145, normalized size = 1.29 \[ \frac {487}{28561} \, \sqrt {13} \operatorname {arsinh}\left (\frac {8 \, \sqrt {23} x}{23 \, {\left | 2 \, x + 1 \right |}} - \frac {9 \, \sqrt {23}}{23 \, {\left | 2 \, x + 1 \right |}}\right ) + \frac {7248 \, x}{50531 \, \sqrt {3 \, x^{2} - x + 2}} + \frac {8785}{101062 \, \sqrt {3 \, x^{2} - x + 2}} - \frac {1}{26 \, {\left (4 \, \sqrt {3 \, x^{2} - x + 2} x^{2} + 4 \, \sqrt {3 \, x^{2} - x + 2} x + \sqrt {3 \, x^{2} - x + 2}\right )}} + \frac {3}{169 \, {\left (2 \, \sqrt {3 \, x^{2} - x + 2} x + \sqrt {3 \, x^{2} - x + 2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {4\,x^2+3\,x+1}{{\left (2\,x+1\right )}^3\,{\left (3\,x^2-x+2\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {4 x^{2} + 3 x + 1}{\left (2 x + 1\right )^{3} \left (3 x^{2} - x + 2\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________